/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aternity.geolocations.draw;

import java.awt.BorderLayout;
import java.awt.geom.Point2D;
import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.AbstractButton;
import javax.swing.JOptionPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;

/**
 *
 * @author danielo
 */
public class DrawPolygonFrame extends javax.swing.JFrame {

    DrawingPanel drawingPanel = new DrawingPanel();

    private SettingsFrame polygonBrowser;
    
    /**
     * Creates new form DrawPolygonFrame
     */
    public DrawPolygonFrame() {
        initComponents();
        this.drawingJP.add(BorderLayout.CENTER, drawingPanel);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        drawingJP = new javax.swing.JPanel();
        jToolBar1 = new javax.swing.JToolBar();
        jMenuBar1 = new javax.swing.JMenuBar();
        configMenu = new javax.swing.JMenu();
        settingsWindowMI = new javax.swing.JMenuItem();
        insertMenu = new javax.swing.JMenu();
        insertPolygonMI = new javax.swing.JMenuItem();
        insertPointMI = new javax.swing.JMenuItem();
        transformJM = new javax.swing.JMenu();
        autoScaleMI = new javax.swing.JMenuItem();
        viewJM = new javax.swing.JMenu();
        clearMI = new javax.swing.JMenuItem();
        showCoordinatesCBMI = new javax.swing.JCheckBoxMenuItem();
        jMenu1 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenuItem3 = new javax.swing.JMenuItem();

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 100, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 100, Short.MAX_VALUE)
        );

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Polygon Preview");

        drawingJP.setLayout(new java.awt.BorderLayout());
        getContentPane().add(drawingJP, java.awt.BorderLayout.CENTER);

        jToolBar1.setRollover(true);
        getContentPane().add(jToolBar1, java.awt.BorderLayout.PAGE_START);

        configMenu.setText("Configure");

        settingsWindowMI.setText("Settings Window");
        settingsWindowMI.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                settingsWindowMIActionPerformed(evt);
            }
        });
        configMenu.add(settingsWindowMI);

        jMenuBar1.add(configMenu);

        insertMenu.setText("Edit");

        insertPolygonMI.setText("Polygon");
        insertPolygonMI.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                insertPolygonMIActionPerformed(evt);
            }
        });
        insertMenu.add(insertPolygonMI);

        insertPointMI.setText("Insert Point");
        insertPointMI.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                insertPointMIActionPerformed(evt);
            }
        });
        insertMenu.add(insertPointMI);

        jMenuBar1.add(insertMenu);

        transformJM.setText("Transform");

        autoScaleMI.setText("Auto Scale");
        autoScaleMI.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                autoScaleMIActionPerformed(evt);
            }
        });
        transformJM.add(autoScaleMI);

        jMenuBar1.add(transformJM);

        viewJM.setText("View");

        clearMI.setText("Clear");
        viewJM.add(clearMI);

        showCoordinatesCBMI.setText("Show Coordinates");
        showCoordinatesCBMI.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                showCoordinatesCBMIActionPerformed(evt);
            }
        });
        viewJM.add(showCoordinatesCBMI);

        jMenuBar1.add(viewJM);

        jMenu1.setText("Samples");

        jMenuItem1.setText("Tel Aviv");
        jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem1ActionPerformed(evt);
            }
        });
        jMenu1.add(jMenuItem1);

        jMenuItem2.setText("Japan");
        jMenuItem2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem2ActionPerformed(evt);
            }
        });
        jMenu1.add(jMenuItem2);

        jMenuItem3.setText("UK");
        jMenuItem3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem3ActionPerformed(evt);
            }
        });
        jMenu1.add(jMenuItem3);

        jMenuBar1.add(jMenu1);

        setJMenuBar(jMenuBar1);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void insertPolygonMIActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_insertPolygonMIActionPerformed
        String polygonData = readPolygonFromUser();
        drawingPanel.setPolygonData(polygonData);
    }//GEN-LAST:event_insertPolygonMIActionPerformed

    private void autoScaleMIActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_autoScaleMIActionPerformed
        drawingPanel.autoScaleAndTranslate();
    }//GEN-LAST:event_autoScaleMIActionPerformed

    private void insertPointMIActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_insertPointMIActionPerformed
        String xy = JOptionPane.showInputDialog("Point: X,Y");
        final String[] splits = StringUtils.split(xy, ',');
        this.drawingPanel.addPoint(new Point2D.Double(Double.parseDouble(splits[0]), Double.parseDouble(splits[1])));
    }//GEN-LAST:event_insertPointMIActionPerformed

    private void showCoordinatesCBMIActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_showCoordinatesCBMIActionPerformed
        AbstractButton ab = (AbstractButton) evt.getSource();
        drawingPanel.setShowCoordinates(ab.getModel().isSelected());
    }//GEN-LAST:event_showCoordinatesCBMIActionPerformed

    private void settingsWindowMIActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_settingsWindowMIActionPerformed
        if(polygonBrowser == null){
            polygonBrowser = new SettingsFrame(drawingPanel);
        }
        polygonBrowser.setVisible(true);
    }//GEN-LAST:event_settingsWindowMIActionPerformed

    private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed
        drawingPanel.setPolygonData("POLYGON ((34.8641 32.0687,34.8717 32.0137,34.8248 32.0187,34.8013 31.9944,34.7352 32.0076,34.8059 32.1919,34.8662 32.1724,34.8583 32.1305,34.8403 32.081,34.8641 32.0687))");
    }//GEN-LAST:event_jMenuItem1ActionPerformed

    private void jMenuItem2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem2ActionPerformed
        drawingPanel.setPolygonData("MULTIPOLYGON (((123.782 24.4372,123.8118 24.4112,123.8699 24.4044,123.8824 24.3886,123.9385 24.3656,123.925 24.323,123.9027 24.3088,123.9044 24.2753,123.8811 24.2804,123.8807 24.2564,123.8334 24.2719,123.755 24.2797,123.7215 24.2993,123.7191 24.2783,123.6799 24.2844,123.6617 24.3084,123.7536 24.3531,123.7431 24.3683,123.7658 24.4339,123.782 24.4372)),((124.3165 24.6124,124.3385 24.6049,124.3344 24.5711,124.304 24.5458,124.3091 24.5319,124.2824 24.489,124.2533 24.4687,124.2584 24.4115,124.2384 24.346,124.1989 24.3537,124.1664 24.3301,124.1113 24.3673,124.1471 24.3943,124.1235 24.4332,124.0843 24.4163,124.0816 24.4525,124.1174 24.4487,124.1333 24.4765,124.1525 24.4548,124.2185 24.4541,124.2306 24.4984,124.2587 24.5197,124.2749 24.5049,124.2945 24.542,124.3165 24.6124)),((125.2767 24.7726,125.2767 24.7726,125.2767 24.7726,125.2571 24.7882,125.2942 24.8416,125.3355 24.822,125.3318 24.8051,125.4335 24.7611,125.4498 24.7256,125.3727 24.7287,125.3088 24.7114,125.2608 24.7361,125.2841 24.7513,125.2767 24.7726)),((128.2579 26.8755,128.3207 26.8123,128.3184 26.7345,128.2937 26.7173,128.2795 26.6777,128.2366 26.6311,128.1456 26.6233,128.1304 26.6006,128.1477 26.5688,128.0909 26.5364,128.0445 26.5475,128.051 26.5212,128.0107 26.5148,127.9911 26.4752,127.9539 26.4738,127.9435 26.4434,127.9242 26.439,127.8853 26.4573,127.8501 26.4485,127.8403 26.4272,127.8718 26.388,127.8728 26.3626,127.912 26.3258,127.89 26.3119,127.8623 26.3447,127.8397 26.3329,127.8106 26.2936,127.79 26.2297,127.7693 26.1997,127.7788 26.1723,127.8211 26.1912,127.8265 26.1665,127.793 26.1351,127.7484 26.1192,127.7254 26.0908,127.6764 26.0746,127.6568 26.084,127.6693 26.152,127.6365 26.1986,127.6804 26.2267,127.6838 26.2568,127.7261 26.273,127.7599 26.3099,127.7159 26.4039,127.7704 26.4448,127.8011 26.4502,127.8697 26.5114,127.8839 26.5026,127.9367 26.5381,127.9648 26.5425,127.983 26.5851,127.9238 26.6098,127.8951 26.6064,127.8799 26.6375,127.9086 26.6993,127.959 26.7071,128.0046 26.6885,127.9901 26.6469,128.0256 26.6273,128.079 26.6442,128.1176 26.7031,128.1439 26.7085,128.1635 26.743,128.2312 26.7974,128.2525 26.8396,128.2579 26.8755)),((128.694 27.4408,128.6358 27.365,128.5993 27.34,128.5584 27.3292,128.5202 27.3731,128.5331 27.4053,128.5588 27.3958,128.6213 27.4049,128.694 27.4408)),((128.9066 27.8938,128.9668 27.8921,128.9685 27.8181,129.0378 27.7684,129.0209 27.7173,128.9871 27.67,128.9361 27.6608,128.9195 27.6923,128.881 27.7224,128.9073 27.7633,128.8894 27.787,128.8897 27.8826,128.9066 27.8938)),((129.2096 28.2011,129.2102 28.1663,129.2403 28.1504,129.2701 28.168,129.2752 28.1132,129.3188 28.1017,129.3546 28.1044,129.3401 28.0763,129.3154 28.0709,129.2589 28.1068,129.2244 28.0987,129.22 28.1389,129.1883 28.1568,129.1923 28.1943,129.2096 28.2011)),((129.2738 28.1818,129.2735 28.216,129.214 28.2271,129.1774 28.2241,129.1443 28.2579,129.1825 28.2697,129.2119 28.2528,129.2271 28.2734,129.2136 28.3012,129.265 28.3275,129.313 28.3346,129.3391 28.3684,129.3702 28.3556,129.4286 28.3884,129.4499 28.3823,129.456 28.411,129.477 28.4002,129.5118 28.4073,129.5165 28.4351,129.5456 28.4621,129.5581 28.4479,129.5953 28.4749,129.6065 28.4357,129.6396 28.4168,129.6738 28.458,129.646 28.4973,129.6903 28.5027,129.7194 28.4733,129.7089 28.4212,129.6639 28.3975,129.6122 28.3992,129.5625 28.333,129.5368 28.3306,129.5378 28.3066,129.4804 28.2893,129.4628 28.2975,129.4601 28.268,129.4317 28.239,129.4689 28.2231,129.4537 28.1997,129.4094 28.1822,129.4046 28.1575,129.3509 28.1741,129.356 28.1365,129.3306 28.1348,129.2914 28.1534,129.2924 28.1822,129.2738 28.1818)),((130.498 30.4696,130.4983 30.4544,130.5433 30.447,130.5974 30.4118,130.6386 30.4013,130.6718 30.3753,130.6535 30.2996,130.5859 30.2407,130.4933 30.2269,130.4365 30.2401,130.4131 30.2668,130.4131 30.2972,130.3935 30.3185,130.3766 30.3753,130.3814 30.3936,130.4192 30.3963,130.4689 30.4602,130.498 30.4696)),((131.0565 30.8398,131.0835 30.7827,131.0724 30.7685,131.0683 30.6928,131.0518 30.66,131.0551 30.6049,131.0335 30.5653,131.0 30.5484,130.9585 30.4598,130.9794 30.4382,130.9642 30.3733,130.9044 30.3638,130.8831 30.3439,130.8574 30.3712,130.8655 30.4172,130.8493 30.4673,130.8695 30.4639,130.8976 30.4953,130.9534 30.593,130.9419 30.6481,130.947 30.6786,131.0082 30.7651,131.0027 30.7823,131.0565 30.8398)),((130.1592 32.2212,130.1761 32.2276,130.1927 32.1992,130.1822 32.1769,130.193 32.1475,130.1586 32.0897,130.1129 32.1255,130.1068 32.2148,130.1592 32.2212)),((129.9709 32.2486,130.0108 32.2983,129.9939 32.3074,129.975 32.3551,129.9946 32.3778,130.0088 32.4315,130.0321 32.4768,130.0443 32.5126,130.118 32.5434,130.1812 32.5498,130.1974 32.5353,130.1981 32.4575,130.216 32.4217,130.2015 32.4102,130.2231 32.3862,130.2079 32.3348,130.1728 32.3105,130.1646 32.3294,130.0778 32.2121,130.0132 32.1894,129.9905 32.1972,130.0 32.2347,129.9709 32.2486)),((130.4605 32.5302,130.4158 32.4224,130.382 32.3869,130.3543 32.3862,130.3418 32.4062,130.3148 32.3963,130.2745 32.4122,130.2282 32.4116,130.2062 32.4525,130.282 32.4842,130.3168 32.5174,130.3672 32.5255,130.3945 32.5001,130.4114 32.5191,130.4605 32.5302)),((129.4804 34.6192,129.4401 34.6186,129.4712 34.6057,129.4726 34.5543,129.4371 34.5073,129.3779 34.4512,129.3793 34.4164,129.3597 34.3914,129.4077 34.3379,129.3482 34.3234,129.3492 34.3636,129.3255 34.367,129.3107 34.3376,129.29 34.3718,129.2809 34.3542,129.2738 34.4657,129.3286 34.533,129.3046 34.5675,129.3198 34.647,129.3789 34.6426,129.4229 34.698,129.4645 34.6994,129.4892 34.6632,129.4804 34.6192)),((129.6525 33.7727,129.6623 33.8024,129.6866 33.8082,129.6714 33.8379,129.7049 33.8633,129.765 33.8342,129.7728 33.7734,129.786 33.7422,129.7329 33.7382,129.7147 33.7078,129.6768 33.7284,129.6866 33.7422,129.6525 33.7727)),((129.2447 34.2994,129.2792 34.3062,129.2873 34.2876,129.3194 34.2977,129.3292 34.274,129.3157 34.245,129.3255 34.2257,129.2958 34.2156,129.2961 34.1618,129.24 34.1016,129.2302 34.1037,129.2295 34.0945,129.1703 34.1121,129.1798 34.2196,129.1957 34.2686,129.2045 34.3312,129.2292 34.3187,129.2221 34.2933,129.2447 34.2994)),((132.234 33.9677,132.2881 33.9404,132.3169 33.9059,132.3541 33.9072,132.3696 33.9285,132.4014 33.9282,132.4163 33.9529,132.4386 33.9519,132.4183 33.9181,132.3757 33.914,132.3273 33.8893,132.2824 33.9008,132.2604 33.8765,132.205 33.8761,132.1749 33.9028,132.1843 33.9535,132.234 33.9677)),((132.4798 34.296,132.4991 34.267,132.4886 34.2014,132.4741 34.1956,132.4906 34.1493,132.4464 34.1324,132.4497 34.1672,132.3845 34.2264,132.3804 34.2571,132.4254 34.2548,132.445 34.2227,132.4771 34.2375,132.4352 34.2849,132.4798 34.296)),((131.1603 31.4619,131.1086 31.4761,131.0531 31.4389,131.0311 31.4132,131.0173 31.3567,131.1052 31.3338,131.1035 31.3111,131.0737 31.2918,131.1079 31.2594,131.0653 31.2273,131.0176 31.2283,131.0027 31.1887,130.9727 31.1664,130.9733 31.1454,130.8773 31.0988,130.8303 31.0937,130.7157 31.0423,130.6829 31.0038,130.665 31.0119,130.6792 31.0423,130.6826 31.0887,130.7441 31.1316,130.7664 31.1853,130.7536 31.2117,130.7881 31.2486,130.8033 31.3365,130.7563 31.4247,130.7296 31.4521,130.6995 31.4619,130.6914 31.4883,130.7069 31.5413,130.6985 31.5555,130.6396 31.5451,130.592 31.5809,130.6305 31.6215,130.6961 31.6252,130.7184 31.587,130.7188 31.5582,130.7671 31.5637,130.8229 31.659,130.7958 31.7013,130.7306 31.71,130.6883 31.7357,130.6603 31.7286,130.6143 31.6965,130.6187 31.6566,130.5626 31.5971,130.569 31.5708,130.5217 31.5092,130.5125 31.4636,130.5264 31.4088,130.5463 31.3787,130.5646 31.3226,130.6204 31.277,130.6653 31.2651,130.6579 31.2219,130.6261 31.1809,130.6014 31.1823,130.5876 31.158,130.5541 31.1786,130.5183 31.1657,130.5156 31.1979,130.4862 31.2371,130.4591 31.2513,130.354 31.2499,130.2826 31.2661,130.2772 31.2465,130.2201 31.2621,130.2262 31.3057,130.2093 31.3483,130.1525 31.3855,130.1359 31.4169,130.1582 31.4392,130.1866 31.4108,130.2252 31.4024,130.2715 31.4267,130.3073 31.4785,130.3337 31.5626,130.3293 31.6289,130.2613 31.7219,130.1988 31.755,130.1663 31.7946,130.2214 31.896,130.2086 31.9724,130.1792 32.0001,130.2072 32.0596,130.1755 32.1046,130.2269 32.1289,130.2735 32.1259,130.3097 32.1083,130.3459 32.1303,130.3611 32.1681,130.3719 32.2016,130.4027 32.2354,130.4277 32.2445,130.449 32.2878,130.4777 32.2868,130.4659 32.3196,130.4865 32.3629,130.5724 32.4417,130.5649 32.4761,130.5426 32.4842,130.5453 32.5133,130.5893 32.5759,130.6339 32.6033,130.6363 32.6333,130.4622 32.6056,130.4527 32.6266,130.4997 32.654,130.5379 32.6651,130.5676 32.6993,130.6011 32.7125,130.6075 32.7425,130.6014 32.8108,130.5781 32.8396,130.5227 32.8534,130.5271 32.8768,130.4493 32.9109,130.43 32.987,130.4141 33.0022,130.425 33.0532,130.4138 33.085,130.3898 33.0941,130.3746 33.1418,130.3557 33.1405,130.2884 33.1469,130.286 33.1618,130.2333 33.1942,130.2225 33.1651,130.1491 33.1124,130.1427 33.0799,130.1957 32.9887,130.2235 32.9738,130.2035 32.9572,130.1849 32.9143,130.1092 32.8859,130.1045 32.8605,130.1856 32.8413,130.2438 32.8754,130.3056 32.8778,130.3411 32.8551,130.3786 32.7787,130.3766 32.7398,130.3459 32.7081,130.3448 32.6722,130.3029 32.6519,130.2651 32.6523,130.2333 32.612,130.1741 32.6029,130.1684 32.6212,130.1295 32.6408,130.1325 32.6813,130.1545 32.683,130.2066 32.7273,130.1792 32.7946,130.1281 32.7878,130.0838 32.7946,130.024 32.7584,129.9496 32.7605,129.9567 32.7422,129.8959 32.6617,129.835 32.632,129.8042 32.5907,129.7907 32.6144,129.8161 32.6536,129.8178 32.7064,129.8448 32.6966,129.8512 32.7196,129.8049 32.7442,129.8026 32.7764,129.7461 32.822,129.7376 32.8054,129.7025 32.8311,129.6521 32.9312,129.6268 32.9508,129.6433 32.9927,129.6501 33.0417,129.6775 33.0992,129.7305 33.0742,129.7468 33.0384,129.7356 33.0117,129.7434 32.9931,129.7965 33.0093,129.8228 32.9819,129.8036 32.9079,129.7999 32.8639,129.8441 32.8352,129.8969 32.8801,129.9337 32.8575,129.9631 32.8757,129.931 32.9254,129.9456 33.0154,129.8746 33.0654,129.8239 33.0536,129.8015 33.0685,129.785 33.1435,129.7201 33.1384,129.712 33.1178,129.6785 33.1645,129.6386 33.2017,129.6264 33.1902,129.5649 33.2182,129.571 33.271,129.5896 33.272,129.5618 33.3251,129.5781 33.3802,129.6295 33.3636,129.6535 33.3707,129.7049 33.3467,129.7451 33.367,129.763 33.3541,129.7907 33.3704,129.7907 33.3403,129.8313 33.3041,129.8472 33.3264,129.8306 33.3362,129.8665 33.3768,129.8688 33.4075,129.8306 33.4143,129.7863 33.4481,129.8066 33.4856,129.835 33.4508,129.857 33.4647,129.8296 33.5053,129.859 33.5435,129.9013 33.5451,129.9577 33.5293,129.9439 33.4924,129.9696 33.4552,130.0196 33.4461,130.0396 33.4698,130.05 33.49,130.1538 33.537,130.1197 33.5746,130.1224 33.5901,130.1619 33.6111,130.1569 33.6283,130.2062 33.6466,130.2099 33.6679,130.2367 33.6462,130.2346 33.6151,130.2749 33.6101,130.2647 33.5898,130.2928 33.58,130.3134 33.5979,130.3857 33.5938,130.4351 33.6628,130.4253 33.675,130.3715 33.6706,130.4605 33.7392,130.4709 33.7744,130.4453 33.793,130.4747 33.8207,130.4838 33.8521,130.5213 33.8633,130.5301 33.8876,130.5639 33.891,130.6014 33.8782,130.6515 33.892,130.6873 33.9343,130.7133 33.9387,130.855 33.9295,130.8932 33.8961,130.9317 33.9079,130.9629 33.962,131.0021 33.9701,131.0234 33.96,130.9879 33.8995,130.9984 33.8684,130.9666 33.8095,131.0004 33.8156,130.9984 33.7963,131.0261 33.7138,131.1011 33.6178,131.115 33.6303,131.1853 33.6165,131.2387 33.6016,131.2465 33.6117,131.2779 33.581,131.3753 33.5773,131.4237 33.5732,131.424 33.5918,131.4679 33.6134,131.4997 33.6713,131.5491 33.6794,131.5826 33.6926,131.6306 33.6817,131.6613 33.6696,131.6877 33.6408,131.7259 33.5881,131.7404 33.561,131.7262 33.4637,131.7012 33.4059,131.6718 33.4177,131.6502 33.4204,131.6272 33.4109,131.6498 33.3839,131.5981 33.37,131.5968 33.3497,131.5498 33.3501,131.5264 33.3677,131.499 33.3602,131.495 33.3396,131.5129 33.2672,131.5893 33.2456,131.5998 33.2564,131.6806 33.2791,131.7695 33.2449,131.8192 33.2456,131.8926 33.249,131.8723 33.2162,131.8219 33.1621,131.8148 33.1229,131.8459 33.1148,131.8689 33.131,131.8939 33.0786,131.898 33.0766,131.9369 33.082,131.9446 33.0688,131.9784 33.0668,131.9812 33.0661,131.9954 33.0941,132.0018 33.0941,132.0075 33.0607,131.9757 33.0461,131.9217 33.0448,131.8973 32.9799,131.9626 32.9478,132.0116 32.9332,132.0332 32.9532,132.0704 32.9363,132.0261 32.9352,131.9757 32.9221,131.9845 32.8994,132.0116 32.891,131.9426 32.8369,131.9457 32.8345,131.9646 32.8389,132.0106 32.8348,131.9632 32.7946,131.9369 32.7845,131.8997 32.802,131.8949 32.7703,131.8706 32.7716,131.8858 32.7459,131.8594 32.7334,131.8429 32.6905,131.8155 32.6871,131.7628 32.6587,131.7732 32.6344,131.7425 32.5921,131.709 32.587,131.682 32.5417,131.6847 32.5093,131.7114 32.5164,131.7266 32.4991,131.688 32.4687,131.661 32.4842,131.6505 32.4565,131.6762 32.443,131.6674 32.4119,131.6431 32.4082,131.6241 32.3632,131.6265 32.3406,131.5988 32.3186,131.5758 32.2469,131.47 31.9372,131.4548 31.871,131.4544 31.8159,131.4832 31.7858,131.4517 31.6816,131.4632 31.6526,131.4568 31.6242,131.423 31.6086,131.3814 31.5549,131.3895 31.4852,131.3631 31.4717,131.3726 31.4362,131.3094 31.3906,131.2539 31.3808,131.2019 31.4545,131.1603 31.4619)),((128.7734 32.6164,128.7934 32.5918,128.7528 32.5796,128.7386 32.606,128.6653 32.6083,128.6531 32.5907,128.6358 32.6283,128.6642 32.6661,128.6416 32.7594,128.6571 32.7804,128.6822 32.778,128.7051 32.7449,128.7386 32.7432,128.7552 32.7693,128.8045 32.7747,128.8455 32.7442,128.8515 32.6912,128.883 32.6695,128.8931 32.6408,128.8187 32.6367,128.8039 32.6546,128.7701 32.6448,128.7734 32.6164)),((129.1274 32.99,129.1761 33.0073,129.1822 32.9714,129.0923 32.9238,129.1004 32.8602,129.0659 32.8629,129.0628 32.8166,129.0453 32.8294,129.0453 32.894,129.0507 32.919,129.0213 32.9329,128.9973 32.9643,129.0419 32.9924,129.0422 33.0279,129.0794 33.0343,129.1024 33.1029,129.0916 33.039,129.0973 32.9809,129.1274 32.99)),((129.5544 33.4096,129.5669 33.3589,129.5456 33.3487,129.527 33.3034,129.5044 33.3017,129.5013 33.2595,129.4341 33.1908,129.3803 33.2081,129.41 33.2527,129.4046 33.2706,129.4469 33.297,129.4324 33.3142,129.4418 33.3508,129.5017 33.3572,129.5078 33.3802,129.5524 33.3812,129.5544 33.4096)),((138.5031 38.3324,138.5122 38.3148,138.4929 38.2036,138.4351 38.1147,138.4439 38.0754,138.4811 38.0622,138.5626 38.0852,138.5724 38.0622,138.5453 38.0075,138.4892 37.9192,138.4645 37.8932,138.4273 37.88,138.3594 37.8303,138.3121 37.828,138.2444 37.8023,138.2039 37.8229,138.2181 37.8378,138.2691 37.8479,138.2897 37.8854,138.2786 37.9074,138.3435 37.9649,138.2982 38.0075,138.2739 38.0021,138.2553 37.9649,138.2357 37.9743,138.2397 38.0805,138.2897 38.1336,138.3276 38.1978,138.3638 38.213,138.4044 38.2543,138.4284 38.2543,138.4676 38.3239,138.5031 38.3324)),((139.5586 42.2524,139.5603 42.2267,139.5231 42.1879,139.5193 42.1358,139.496 42.0834,139.4504 42.0607,139.4264 42.0716,139.4213 42.1405,139.4068 42.1787,139.4358 42.2159,139.4595 42.2156,139.5491 42.2379,139.5586 42.2524)),((141.1993 45.259,141.2351 45.2336,141.2689 45.236,141.3034 45.2147,141.3247 45.1836,141.3294 45.1491,141.2858 45.1133,141.2378 45.097,141.1658 45.1376,141.1418 45.1616,141.1323 45.2133,141.1993 45.259)),((141.941 45.5213,141.9698 45.4825,142.0188 45.4537,142.0421 45.4087,142.1686 45.3401,142.2632 45.2455,142.414 45.1146,142.4823 45.0615,142.5039 45.0592,142.5316 45.0257,142.5448 44.9858,142.578 44.9615,142.5857 44.9233,142.6324 44.8878,142.6598 44.8404,142.675 44.8357,142.7389 44.76,142.8329 44.6907,142.863 44.6751,142.9546 44.5987,142.9941 44.5578,143.0976 44.499,143.2105 44.4425,143.2315 44.4232,143.3403 44.3722,143.3647 44.3374,143.4458 44.2948,143.6294 44.2282,143.7819 44.1815,143.9266 44.1474,144.1091 44.1196,144.2048 44.1021,144.2501 44.1095,144.2548 44.0385,144.2887 44.0182,144.2998 43.9814,144.3657 43.9547,144.4803 43.9303,144.6037 43.9175,144.7025 43.9185,144.7961 43.932,144.8495 43.9739,144.9148 44.0081,144.9337 44.0409,144.9871 44.0666,145.0094 44.0953,145.1913 44.195,145.2255 44.2478,145.2809 44.2904,145.3289 44.3451,145.3441 44.3394,145.3489 44.2951,145.3661 44.2701,145.3482 44.2231,145.3032 44.166,145.264 44.1382,145.24 44.0879,145.2451 44.0683,145.1552 43.9824,145.094 43.8901,145.0987 43.8614,145.0811 43.8188,145.0612 43.8059,145.0689 43.7481,145.121 43.6859,145.1396 43.649,145.1994 43.623,145.1981 43.5973,145.2187 43.5855,145.2407 43.5344,145.2623 43.4384,145.2779 43.4019,145.3228 43.3441,145.3969 43.291,145.4929 43.2667,145.5223 43.3069,145.5531 43.3184,145.6508 43.3914,145.7214 43.383,145.7566 43.3995,145.8087 43.388,145.811 43.3678,145.7302 43.3285,145.7056 43.3339,145.6765 43.3187,145.6082 43.3089,145.5964 43.2836,145.5659 43.2809,145.5548 43.2173,145.5348 43.1909,145.4993 43.1788,145.4513 43.1886,145.2972 43.1727,145.2018 43.1358,145.1781 43.148,145.1224 43.1324,145.118 43.0811,145.0872 43.0655,145.0879 43.0476,145.0297 43.028,145.0257 43.0026,144.9716 42.981,144.9286 42.9905,144.8813 42.9847,144.8235 43.0587,144.7819 43.0544,144.7461 43.0239,144.7221 42.9786,144.7484 42.9553,144.737 42.9333,144.6298 42.9512,144.5273 42.9516,144.4851 42.9394,144.3745 42.9675,144.36 42.9952,144.2758 43.004,144.172 42.9854,144.0398 42.9377,143.8951 42.86,143.6318 42.67,143.5216 42.5709,143.4441 42.4894,143.3562 42.366,143.3251 42.3102,143.3099 42.2612,143.3187 42.2129,143.3359 42.2017,143.3082 42.0797,143.3099 42.0475,143.2636 42.012,143.2443 41.9664,143.22 41.9475,143.1635 41.9826,143.1341 42.0279,143.0635 42.0645,143.0023 42.0858,142.9664 42.1175,142.9066 42.1327,142.8143 42.1419,142.7582 42.1753,142.6709 42.1916,142.5851 42.2433,142.4769 42.2737,142.4387 42.3062,142.4066 42.3085,142.2757 42.3762,142.2659 42.3907,142.1723 42.4573,142.0749 42.4705,142.0279 42.484,141.895 42.5804,141.7686 42.6189,141.7006 42.6284,141.6242 42.6304,141.5238 42.6115,141.4623 42.5925,141.3484 42.5418,141.2057 42.4532,141.1506 42.4374,141.0982 42.4005,141.0181 42.3271,141.0022 42.3011,140.9491 42.3167,140.917 42.3691,140.8788 42.4522,140.7828 42.5029,140.774 42.5361,140.6969 42.5864,140.6384 42.5851,140.5674 42.5706,140.5383 42.5871,140.4667 42.5851,140.4186 42.5496,140.3656 42.4952,140.3263 42.4387,140.2902 42.365,140.277 42.3204,140.2848 42.2561,140.3088 42.2369,140.3862 42.2227,140.4105 42.201,140.4984 42.1473,140.5204 42.1256,140.5789 42.1084,140.707 42.1385,140.7621 42.1141,140.7699 42.0908,140.8024 42.077,140.8203 42.0354,140.9085 41.9833,140.9592 41.9164,141.0113 41.8937,141.0745 41.8873,141.1502 41.8528,141.1482 41.8298,141.1851 41.8153,141.1557 41.7842,141.108 41.7838,141.0525 41.726,140.9684 41.7101,140.9271 41.7385,140.8534 41.7602,140.7692 41.7744,140.7364 41.768,140.705 41.7801,140.7006 41.8163,140.655 41.821,140.6222 41.8048,140.6012 41.7419,140.5191 41.7017,140.4545 41.6943,140.4376 41.673,140.4288 41.603,140.4369 41.5482,140.4082 41.5168,140.3534 41.5124,140.2591 41.4809,140.2161 41.4099,140.1999 41.3984,140.1458 41.4282,140.0728 41.4285,140.0275 41.4623,139.9916 41.5431,139.9822 41.6003,140.0086 41.6912,140.0674 41.7602,140.0752 41.8078,140.109 41.8048,140.1221 41.8224,140.1411 41.9157,140.1191 42.0039,140.1032 42.0077,140.0572 42.0827,140.0234 42.1145,139.9916 42.1277,139.9223 42.1321,139.8808 42.2078,139.7956 42.2308,139.7749 42.2619,139.7682 42.3048,139.7817 42.3535,139.8016 42.3613,139.8361 42.4056,139.852 42.4712,139.8466 42.5283,139.8223 42.6064,139.8689 42.6659,139.9254 42.6882,140.0393 42.6909,140.0687 42.7234,140.1441 42.7545,140.1468 42.771,140.1894 42.8255,140.2381 42.7923,140.2459 42.7683,140.3044 42.7775,140.3088 42.8309,140.3466 42.8573,140.376 42.9015,140.4156 42.9411,140.5069 42.9857,140.5278 43.0016,140.4849 43.0763,140.465 43.0844,140.4308 43.1395,140.3591 43.1801,140.3247 43.221,140.3412 43.2812,140.3598 43.315,140.352 43.3319,140.4301 43.3299,140.4599 43.3448,140.4656 43.3728,140.5035 43.3701,140.609 43.2954,140.6299 43.2947,140.6408 43.266,140.7084 43.2525,140.7584 43.2264,140.7743 43.2045,140.8166 43.194,140.8947 43.2112,140.9785 43.2389,141.0164 43.2386,141.0035 43.2099,141.0407 43.1791,141.0887 43.1713,141.1614 43.1439,141.2223 43.1642,141.2862 43.1963,141.3433 43.2433,141.4241 43.3292,141.4275 43.4215,141.3588 43.5185,141.3859 43.5895,141.3521 43.6413,141.3301 43.7254,141.3876 43.8066,141.4576 43.8357,141.4968 43.8384,141.511 43.8559,141.5573 43.8576,141.5975 43.8843,141.633 43.933,141.6604 44.0104,141.6621 44.0784,141.6533 44.1426,141.658 44.242,141.6472 44.314,141.6787 44.3326,141.7115 44.3942,141.7368 44.4158,141.7605 44.4723,141.7676 44.5558,141.7875 44.5869,141.7919 44.6616,141.7656 44.8012,141.7317 44.8999,141.6875 44.9892,141.5908 45.1471,141.5685 45.2052,141.5735 45.2384,141.609 45.2722,141.6175 45.309,141.6543 45.3503,141.6381 45.3912,141.6452 45.4497,141.677 45.4104,141.7064 45.3962,141.7459 45.4131,141.7842 45.4047,141.8382 45.4223,141.8785 45.4608,141.8944 45.5105,141.941 45.5213)),((140.9673 45.4642,140.9985 45.4351,141.0478 45.4524,141.0667 45.4223,141.0566 45.4084,141.0573 45.3192,141.0269 45.2962,140.9843 45.3763,140.9941 45.4202,140.9673 45.4642)),((133.279 36.3489,133.3835 36.267,133.368 36.2045,133.3406 36.1697,133.2885 36.1791,133.2479 36.1612,133.2385 36.1832,133.1854 36.2146,133.1776 36.2498,133.1966 36.2992,133.2635 36.3279,133.279 36.3489)),((139.3611 34.7991,139.4145 34.7839,139.4369 34.7676,139.4494 34.7149,139.4402 34.6797,139.4101 34.6808,139.3591 34.7024,139.3503 34.7842,139.3611 34.7991)),((134.3467 34.5645,134.3599 34.5296,134.3352 34.4478,134.2923 34.4468,134.2679 34.4681,134.2422 34.4586,134.1794 34.4881,134.1608 34.5097,134.2297 34.5269,134.2642 34.5533,134.2845 34.5462,134.3467 34.5645)),((134.3058 33.5485,134.2422 33.464,134.2101 33.3964,134.1865 33.2933,134.1844 33.2598,134.1675 33.2601,134.1405 33.295,134.1107 33.294,134.1057 33.323,134.0336 33.3781,134.0292 33.414,133.9583 33.4427,133.9366 33.4853,133.8179 33.5154,133.7544 33.5205,133.7348 33.5384,133.6942 33.5374,133.5732 33.5151,133.559 33.4914,133.4173 33.4397,133.4335 33.4268,133.4048 33.4008,133.346 33.4008,133.3115 33.3761,133.2929 33.3873,133.2621 33.3693,133.2557 33.3328,133.2317 33.3234,133.2496 33.3068,133.2422 33.2764,133.2638 33.2574,133.2561 33.2253,133.1705 33.1503,133.136 33.0928,133.1066 33.0762,133.0931 33.034,133.0343 33.0363,133.0082 33.009,132.9927 32.9528,133.0093 32.8812,132.9518 32.8605,132.9653 32.799,133.0025 32.7875,133.0221 32.7267,132.9646 32.7317,132.9714 32.7446,132.9345 32.7868,132.8625 32.7906,132.8155 32.7534,132.7581 32.753,132.7104 32.799,132.6404 32.7696,132.632 32.8014,132.6648 32.8325,132.661 32.8534,132.7121 32.893,132.7172 32.9085,132.6553 32.9251,132.5988 32.9126,132.587 32.942,132.566 32.9478,132.516 32.9322,132.4913 32.9018,132.4714 32.9346,132.4846 32.9802,132.5062 33.0049,132.4856 33.01,132.4846 33.0671,132.4714 33.1195,132.4338 33.1584,132.4609 33.1817,132.4862 33.1645,132.5099 33.176,132.5025 33.2027,132.541 33.2165,132.5498 33.2338,132.5343 33.2649,132.5089 33.2591,132.4805 33.274,132.5082 33.3061,132.493 33.3257,132.4622 33.3105,132.4338 33.3196,132.4227 33.3038,132.3689 33.3247,132.3963 33.3971,132.3835 33.4184,132.4156 33.4441,132.4081 33.4576,132.3497 33.4725,132.2996 33.4748,132.2807 33.4471,132.2371 33.4255,132.1837 33.4126,132.1522 33.3741,132.092 33.3862,132.0846 33.3981,132.1231 33.4204,132.1556 33.4069,132.1722 33.4437,132.2259 33.4593,132.2648 33.4566,132.2655 33.4741,132.3071 33.4873,132.418 33.5445,132.4568 33.5945,132.5079 33.6303,132.586 33.6537,132.6593 33.7034,132.7003 33.7619,132.6881 33.7933,132.6948 33.8396,132.7128 33.8589,132.6986 33.8788,132.7107 33.9069,132.7557 33.9116,132.7773 34.0049,132.9001 34.0678,132.9308 34.0895,132.922 34.1158,132.9427 34.1398,133.0363 34.0394,133.0887 33.9458,133.1401 33.9279,133.2361 33.9515,133.2554 33.9803,133.3071 33.983,133.321 33.9945,133.3565 33.9792,133.3933 33.9907,133.4532 33.9836,133.4907 33.9691,133.538 33.983,133.5678 34.0232,133.5985 34.0435,133.634 34.0702,133.6489 34.1936,133.5901 34.2386,133.5911 34.2555,133.6215 34.2355,133.6986 34.2342,133.752 34.2784,133.8207 34.3187,133.8244 34.3525,133.895 34.3545,133.8879 34.3751,133.9194 34.3718,133.9265 34.3887,133.9765 34.3731,133.9965 34.3545,134.0857 34.3521,134.133 34.3998,134.1604 34.3887,134.1547 34.339,134.1797 34.3251,134.2135 34.3505,134.2662 34.3366,134.2463 34.3058,134.2558 34.2872,134.3058 34.2781,134.3477 34.2524,134.3903 34.2551,134.4065 34.2264,134.4404 34.2078,134.5056 34.2257,134.559 34.2213,134.6243 34.1807,134.6419 34.1801,134.5999 34.1155,134.6084 34.103,134.5884 34.0553,134.5915 34.0063,134.6192 33.9877,134.6317 34.0107,134.6645 33.9654,134.6929 33.9519,134.7064 33.9258,134.6675 33.8792,134.6327 33.8667,134.654 33.8447,134.6878 33.8528,134.7338 33.8258,134.6202 33.7865,134.5435 33.7206,134.4393 33.6631,134.4025 33.6598,134.3829 33.6141,134.3552 33.5786,134.318 33.5817,134.3058 33.5485)),((136.7707 35.0215,136.74 35.0327,136.6761 35.0084,136.6778 34.9871,136.6501 34.9773,136.6453 34.9029,136.6129 34.8505,136.5551 34.7883,136.5344 34.7545,136.5239 34.6841,136.5493 34.671,136.5439 34.6223,136.5699 34.6027,136.6473 34.5885,136.6643 34.5597,136.7167 34.5445,136.7751 34.509,136.8086 34.5083,136.8133 34.4914,136.8668 34.481,136.8698 34.4549,136.9124 34.4539,136.9256 34.4123,136.8813 34.345,136.885 34.2977,136.9012 34.2778,136.8614 34.2626,136.8319 34.2724,136.8326 34.3065,136.7975 34.319,136.7812 34.2953,136.7248 34.3041,136.6886 34.2862,136.6808 34.3423,136.668 34.3393,136.6555 34.2869,136.6051 34.2585,136.5196 34.2676,136.483 34.2277,136.4296 34.2196,136.3989 34.2027,136.3901 34.2189,136.3627 34.1902,136.3495 34.2078,136.3022 34.179,136.2782 34.1422,136.3079 34.1091,136.2968 34.0884,136.266 34.0993,136.2275 34.0993,136.245 34.0381,136.2812 34.0225,136.2569 34.0049,136.2721 33.9728,136.2379 33.9691,136.2312 33.9461,136.2031 33.9441,136.1923 33.9174,136.1473 33.9279,136.1483 33.8971,136.1074 33.8903,136.0574 33.8264,136.0114 33.7237,135.9786 33.6557,135.9374 33.6445,135.9147 33.5627,135.912 33.5499,135.8001 33.5002,135.7744 33.4785,135.7271 33.4772,135.5131 33.5252,135.4908 33.5492,135.4671 33.5465,135.3907 33.5928,135.3978 33.6273,135.3833 33.65,135.3532 33.6547,135.3633 33.6807,135.3958 33.7034,135.3478 33.7473,135.3282 33.7433,135.314 33.769,135.271 33.7828,135.2348 33.7815,135.2359 33.798,135.1872 33.8187,135.1557 33.8731,135.0763 33.9032,135.0756 33.935,135.1071 33.9563,135.0837 33.9613,135.0929 33.9931,135.1517 34.0073,135.1605 34.0462,135.1354 34.0651,135.0905 34.0675,135.1331 34.1385,135.1875 34.1483,135.1821 34.1719,135.149 34.1831,135.1449 34.2271,135.0885 34.2609,135.0614 34.2653,135.0702 34.2991,135.0932 34.3119,135.2237 34.3478,135.3535 34.4512,135.3745 34.4759,135.3755 34.511,135.4448 34.5976,135.4441 34.6446,135.4171 34.6639,135.4073 34.697,135.3711 34.6808,135.3359 34.7257,135.2524 34.7068,135.1889 34.6791,135.1831 34.6493,135.1077 34.6405,135.0455 34.6246,135.0188 34.6432,134.9722 34.6429,134.8471 34.7152,134.8268 34.7065,134.7598 34.7629,134.7125 34.7764,134.6527 34.7707,134.6036 34.7747,134.5698 34.7578,134.5293 34.7829,134.4569 34.7562,134.4336 34.767,134.4143 34.7291,134.3687 34.7447,134.3217 34.722,134.2984 34.7365,134.2686 34.7193,134.2297 34.7152,134.2355 34.6916,134.1885 34.6507,134.1706 34.6527,134.1706 34.6138,134.086 34.5804,134.0407 34.5875,134.0292 34.5567,133.9596 34.5239,133.9647 34.4952,133.9197 34.4502,133.8362 34.4715,133.7875 34.4357,133.7598 34.486,133.7044 34.4881,133.6905 34.5124,133.6016 34.4952,133.5766 34.4657,133.5607 34.4681,133.489 34.4411,133.4471 34.4799,133.4312 34.4242,133.3852 34.4191,133.3849 34.3846,133.3669 34.3687,133.2709 34.3917,133.2703 34.4326,133.2422 34.436,133.2341 34.4116,133.2094 34.4106,133.1272 34.3826,133.0928 34.3887,133.0776 34.3444,133.015 34.3285,132.9626 34.3373,132.8936 34.3265,132.8483 34.2926,132.8199 34.317,132.7963 34.3062,132.7726 34.2531,132.757 34.2413,132.7013 34.2375,132.6833 34.2108,132.6407 34.2017,132.5968 34.2308,132.567 34.198,132.5383 34.1936,132.5586 34.2382,132.5146 34.2568,132.519 34.2822,132.4964 34.3106,132.5045 34.3366,132.4785 34.3569,132.4464 34.3511,132.3973 34.3626,132.3199 34.3393,132.3189 34.3231,132.2824 34.2859,132.231 34.2561,132.2455 34.2108,132.2405 34.179,132.2509 34.1655,132.2344 34.128,132.2033 34.1253,132.2097 34.0594,132.2205 34.0489,132.2134 34.0032,132.1901 33.9664,132.1282 33.9569,132.1286 33.888,132.1583 33.8596,132.1384 33.8315,132.1164 33.8322,132.1198 33.8758,132.0532 33.9157,132.0241 33.9018,131.9592 33.9485,131.9362 33.9475,131.8828 33.9809,131.8594 34.0066,131.8324 34.0053,131.7888 33.9735,131.7827 33.9951,131.8212 34.0276,131.7932 34.0543,131.7475 34.0465,131.7293 34.0624,131.6975 34.0465,131.5876 34.032,131.5389 33.9975,131.5089 34.0232,131.4669 34.033,131.47 34.0185,131.4281 34.0141,131.3946 34.0262,131.3483 33.9816,131.35 33.9664,131.2668 33.9228,131.2391 33.9515,131.1846 33.939,131.1576 33.9552,131.1508 34.0039,131.1218 34.0029,131.0937 34.0367,131.0474 34.0421,131.0369 34.057,131.0031 34.0174,130.9967 33.9904,130.9412 33.9519,130.9077 33.9576,130.9108 34.0617,130.8821 34.0746,130.8618 34.104,130.8668 34.1368,130.8892 34.1348,130.9267 34.1706,130.9206 34.2409,130.8668 34.2876,130.8959 34.3227,130.8895 34.3447,130.9307 34.3423,131.0004 34.3738,130.9595 34.4144,130.9747 34.4397,131.0048 34.4154,131.043 34.4103,131.0633 34.4215,131.1309 34.4113,131.1535 34.3731,131.1998 34.3974,131.2519 34.3816,131.2935 34.3802,131.3249 34.3927,131.331 34.4144,131.3567 34.4106,131.4166 34.4279,131.4149 34.4488,131.4622 34.4864,131.4514 34.5144,131.4652 34.533,131.498 34.5317,131.5548 34.58,131.5653 34.6216,131.5981 34.6216,131.5913 34.6439,131.613 34.6669,131.6461 34.6527,131.6907 34.6811,131.7398 34.6747,131.8006 34.6889,131.8496 34.7115,131.8709 34.7325,131.8659 34.7541,131.9467 34.7927,131.9636 34.8201,131.9899 34.8285,132.0363 34.8823,132.0569 34.8728,132.0664 34.9076,132.1056 34.9462,132.1488 34.9675,132.2367 35.0354,132.3104 35.0574,132.3243 35.0895,132.3902 35.1338,132.4217 35.1889,132.5265 35.2413,132.5556 35.2646,132.6147 35.2812,132.6553 35.318,132.6742 35.3704,132.6732 35.3975,132.6296 35.4354,132.705 35.4425,132.7358 35.4665,132.8003 35.4834,132.8561 35.5101,132.9734 35.5233,132.968 35.5432,133.0282 35.5385,133.0593 35.5807,133.112 35.5976,133.1411 35.5608,133.2557 35.5706,133.2446 35.549,133.2608 35.502,133.3233 35.4661,133.3926 35.4536,133.4275 35.4631,133.4464 35.4942,133.4978 35.5158,133.5901 35.532,133.6729 35.5067,133.7551 35.5006,133.9086 35.5087,134.0022 35.527,134.0526 35.5189,134.2334 35.5473,134.272 35.5604,134.294 35.5895,134.3643 35.6017,134.37 35.6145,134.4326 35.6203,134.4346 35.6335,134.5147 35.6592,134.5401 35.6703,134.5702 35.6571,134.6026 35.6561,134.6178 35.6396,134.6473 35.6598,134.7085 35.6541,134.7845 35.6666,134.8143 35.6636,134.8423 35.6426,134.8674 35.6582,134.9018 35.645,134.9644 35.6629,134.9853 35.6926,135.0239 35.6896,135.0844 35.7248,135.082 35.7383,135.2071 35.764,135.2254 35.7782,135.2876 35.7258,135.3085 35.6937,135.2984 35.6737,135.2649 35.6646,135.2294 35.6085,135.1892 35.5648,135.1875 35.5476,135.2693 35.5334,135.3106 35.5124,135.3234 35.526,135.3451 35.4834,135.4005 35.4935,135.389 35.5165,135.3555 35.5023,135.3373 35.526,135.3795 35.5618,135.3897 35.5567,135.436 35.5902,135.4526 35.5675,135.4867 35.5581,135.4681 35.5317,135.5368 35.4888,135.5638 35.4905,135.6186 35.5189,135.625 35.4891,135.6629 35.4938,135.7119 35.4834,135.7504 35.5162,135.7146 35.5699,135.7508 35.5655,135.7589 35.5425,135.7795 35.5503,135.813 35.5277,135.8542 35.5784,135.8535 35.603,135.9076 35.6243,135.9367 35.6139,135.9857 35.6433,135.9671 35.6602,135.9712 35.7119,136.0199 35.7636,136.0442 35.6913,136.0256 35.6805,136.0466 35.6575,136.0726 35.6612,136.079 35.7021,136.0986 35.7264,136.1003 35.7782,136.0716 35.8235,135.9945 35.8884,135.9976 35.9347,135.9577 35.9817,136.0121 36.0348,136.029 36.0953,136.0905 36.1605,136.1321 36.214,136.1233 36.2501,136.1703 36.2518,136.244 36.2954,136.2995 36.3522,136.3333 36.3587,136.3911 36.3982,136.4442 36.4476,136.6311 36.6501,136.6984 36.7458,136.7437 36.8272,136.7674 36.9043,136.7498 36.9331,136.768 36.9618,136.7691 36.9993,136.7437 37.0142,136.7234 37.0538,136.7275 37.1352,136.7001 37.1491,136.6737 37.1393,136.6761 37.1897,136.7038 37.2268,136.7038 37.2465,136.7339 37.2796,136.7221 37.3239,136.7542 37.3465,136.7565 37.3648,136.8005 37.3759,136.8752 37.4074,136.9239 37.3949,137.0503 37.4486,137.0946 37.4787,137.1443 37.499,137.2163 37.5088,137.2752 37.5335,137.3266 37.5294,137.3512 37.502,137.3394 37.4845,137.3604 37.4503,137.2562 37.4311,137.2376 37.3898,137.2643 37.3262,137.2248 37.2941,137.1447 37.2989,137.099 37.2789,137.0564 37.2083,137.0263 37.188,136.957 37.2086,136.9374 37.2302,136.884 37.1643,136.9002 37.1373,136.8928 37.1109,136.8688 37.1126,136.8597 37.0757,136.8881 37.0683,136.9161 37.0913,136.9726 37.047,137.0 37.0551,137.0138 37.0916,137.0493 37.1004,137.0456 37.0379,137.0517 36.9591,137.0328 36.9236,136.9925 36.879,136.9905 36.8546,137.0848 36.7836,137.1883 36.7569,137.243 36.7657,137.2951 36.7556,137.3323 36.762,137.3932 36.8073,137.4188 36.8817,137.4097 36.8986,137.4361 36.931,137.4909 36.954");
    }//GEN-LAST:event_jMenuItem2ActionPerformed

    private void jMenuItem3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem3ActionPerformed
        drawingPanel.setPolygonData("MULTIPOLYGON (((-1.3059 50.7671,-1.1571 50.7258,-1.1037 50.6934,-1.1417 50.6315,-1.2467 50.5874,-1.4214 50.6389,-1.4204 50.7338,-1.3059 50.7671)),((-4.4248 53.4296,-4.2726 53.4063,-4.2424 53.3532,-4.0013 53.2657,-4.1259 53.2339,-4.2155 53.198,-4.2837 53.1605,-4.3331 53.1055,-4.3932 53.1441,-4.4995 53.205,-4.6087 53.2428,-4.6978 53.3109,-4.577 53.3352,-4.5714 53.4055,-4.4248 53.4296)),((-6.1293 56.6561,-5.9758 56.5542,-5.8792 56.5222,-5.7207 56.4774,-5.6763 56.401,-5.7702 56.336,-5.8557 56.3337,-5.961 56.3246,-6.0622 56.2993,-6.1973 56.2872,-6.3501 56.3145,-6.2707 56.3397,-6.1048 56.3485,-6.021 56.3798,-6.1088 56.3768,-6.1583 56.4155,-6.1754 56.501,-6.2579 56.5266,-6.3013 56.5629,-6.2226 56.6292,-6.1293 56.6561)),((-7.3391 57.4027,-7.2465 57.258,-7.2485 57.1597,-7.2993 57.1045,-7.405 57.1705,-7.4161 57.2691,-7.4047 57.3445,-7.3757 57.395,-7.3391 57.4027)),((-7.3121 57.6935,-7.2485 57.6733,-7.1553 57.6713,-7.1327 57.6286,-7.1546 57.5596,-7.2387 57.5118,-7.3714 57.5458,-7.4693 57.5845,-7.504 57.6262,-7.4336 57.6474,-7.3475 57.6629,-7.3121 57.6935)),((-3.2218 59.1537,-3.0616 59.0882,-3.0078 59.0439,-2.9176 58.9716,-2.7708 58.9531,-2.718 58.9463,-2.8162 58.8787,-2.9468 58.9002,-3.0919 58.9372,-3.2262 58.9473,-3.304 58.9739,-3.3568 59.0345,-3.2898 59.1288,-3.2218 59.1537)),((-1.3086 60.6381,-1.2656 60.4815,-1.1976 60.4539,-1.1215 60.3896,-1.1 60.3328,-1.1639 60.1688,-1.2109 60.0589,-1.274 59.9904,-1.311 60.0211,-1.2804 60.1476,-1.3261 60.2028,-1.3948 60.1874,-1.4658 60.1648,-1.5079 60.1968,-1.5618 60.2176,-1.6553 60.2213,-1.6883 60.2688,-1.6281 60.2944,-1.5352 60.3028,-1.4429 60.3159,-1.3578 60.3355,-1.3904 60.3866,-1.5092 60.4657,-1.5002 60.5448,-1.4264 60.595,-1.3635 60.6269,-1.3086 60.6381)),((-1.073 60.7323,-1.0084 60.6515,-1.0357 60.5357,-1.1107 60.4893,-1.1777 60.528,-1.1652 60.6471,-1.1006 60.7296,-1.073 60.7323)),((-6.262 58.5162,-6.2057 58.363,-6.2795 58.2829,-6.3007 58.2388,-6.2431 58.2277,-6.1839 58.2294,-6.2108 58.1954,-6.3054 58.185,-6.3821 58.1499,-6.3872 58.0641,-6.401 58.017,-6.4541 57.9769,-6.5743 57.9312,-6.6726 57.9022,-6.7211 57.8894,-6.7823 57.8517,-6.8136 57.8107,-6.9035 57.7726,-7.0216 57.7598,-7.0691 57.807,-6.992 57.8669,-6.9994 57.9399,-7.0667 58.0163,-7.0944 58.0954,-7.0923 58.1799,-7.0048 58.2341,-6.9244 58.2065,-6.8614 58.1907,-6.8291 58.2418,-6.7608 58.295,-6.5672 58.3785,-6.4536 58.4229,-6.369 58.4573,-6.2865 58.4966,-6.262 58.5162)),((-5.7093 56.1499,-5.7601 56.0429,-5.8315 55.9669,-5.9011 55.8816,-6.0257 55.8069,-6.0876 55.8564,-6.0465 55.922,-5.9816 55.9904,-5.8365 56.0886,-5.7093 56.1499)),((-6.1273 55.9379,-6.0775 55.7823,-6.0496 55.6605,-6.134 55.6376,-6.231 55.606,-6.3027 55.5841,-6.3067 55.6403,-6.3074 55.7066,-6.4134 55.6965,-6.4713 55.7618,-6.3808 55.8598,-6.2172 55.9025,-6.1273 55.9379)),((-2.6817 51.5998,-2.8102 51.5574,-2.9492 51.5406,-3.0576 51.5204,-3.1475 51.449,-3.2562 51.3935,-3.4507 51.3911,-3.6109 51.441,-3.6826 51.477,-3.7779 51.5456,-3.9078 51.6146,-3.9842 51.5894,-4.0586 51.5709,-4.1737 51.5581,-4.2723 51.5763,-4.3403 51.6894,-4.4178 51.75,-4.5585 51.7325,-4.6877 51.6924,-4.7914 51.6493,-4.8957 51.6227,-4.995 51.6096,-5.0771 51.6709,-5.135 51.7005,-5.1933 51.7069,-5.1643 51.751,-5.1233 51.8136,-5.2222 51.8624,-5.3023 51.89,-5.1862 51.9425,-5.0775 52.0004,-5.0293 52.0145,-4.9149 52.0098,-4.7873 52.0694,-4.6251 52.1266,-4.4487 52.1747,-4.2932 52.239,-4.1485 52.3309,-4.0768 52.4699,-4.0963 52.5766,-4.0943 52.6662,-4.1061 52.7678,-4.1522 52.8607,-4.1855 52.9129,-4.3393 52.8947,-4.4938 52.824,-4.5585 52.8005,-4.7222 52.7809,-4.7717 52.7981,-4.5891 52.9196,-4.4406 52.9853,-4.3511 53.0718,-4.2698 53.1542,-4.1391 53.2205,-3.9607 53.2619,-3.8085 53.3124,-3.6924 53.3101,-3.591 53.3038,-3.4591 53.3235,-3.3257 53.3349,-3.2195 53.3037,-3.1242 53.2556,-3.0236 53.2165,-3.0019 53.2202,-3.1404 53.3155,-3.1037 53.4073,-3.0572 53.4935,-3.0741 53.5921,-2.9913 53.6803,-2.9973 53.7433,-3.0529 53.8402,-2.9539 53.9419,-2.8846 53.9997,-2.8627 54.0694,-2.859 54.1499,-2.9367 54.1704,-3.0148 54.1539,-3.1111 54.1243,-3.1942 54.0906,-3.2407 54.1431,-3.2918 54.1936,-3.3747 54.2391,-3.4255 54.3124,-3.5349 54.4303,-3.6096 54.545,-3.578 54.6086,-3.5073 54.7009,-3.4187 54.8126,-3.3417 54.9052,-3.2114 54.9345,-3.0956 54.96,-3.0418 55.0136,-3.1013 54.9782,-3.1905 54.9693,-3.3625 54.9715,-3.5249 54.964,-3.5854 54.9261,-3.7086 54.8749,-3.893 54.8244,-4.0606 54.7759,-4.1926 54.822,-4.2912 54.8389,-4.3599 54.7524,-4.3865 54.6847,-4.4898 54.7079,-4.5786 54.7514,-4.6971 54.813,-4.8738 54.8456,-4.9445 54.8133,-4.9102 54.7392,-4.8782 54.6612,-4.9253 54.6521,-4.9624 54.6972,-5.0546 54.7961,-5.165 54.8853,-5.1707 54.958,-5.1105 55.0166,-5.026 55.0846,-4.9284 55.1825,-4.8553 55.2738,-4.8075 55.363,-4.7103 55.4205,-4.6355 55.4697,-4.6581 55.5521,-4.7564 55.6211,-4.861 55.6676,-4.8802 55.7369,-4.8711 55.7965,-4.8924 55.9008,-4.9385 55.9227,-5.0822 55.9002,-5.2488 55.8954,-5.3316 55.88,-5.3461 55.9513,-5.2808 56.0456,-5.2283 56.1122,-5.3084 56.0671,-5.4154 56.0069,-5.4279 55.9395,-5.3723 55.8493,-5.3336 55.7961,-5.3609 55.7578,-5.439 55.6965,-5.4965 55.571,-5.5339 55.4673,-5.5376 55.4023,-5.5602 55.3387,-5.7012 55.3037,-5.7975 55.3454,-5.7557 55.4188,-5.715 55.5131,-5.6423 55.6733,-5.614 55.7823,-5.6632 55.881,-5.6187 56.0392,-5.5854 56.1381,-5.5689 56.2034,-5.5571 56.2893,-5.5225 56.3892,-5.4296 56.4508,-5.4158 56.4875,-5.3791 56.5707,-5.3084 56.6679,-5.472 56.6107,-5.6348 56.5395,-5.7752 56.5299,-5.9557 56.5983,-6.0963 56.7002,-6.0395 56.7639,-5.8712 56.8036,-5.8176 56.8356,-5.7904 56.8645,-5.8412 56.8833,-5.8422 56.9685,-5.7594 57.0904,-5.6796 57.1839,-5.6705 57.2332,-5.7332 57.1849,-5.8604 57.1025,-5.9708 57.0325,-6.0058 57.0951,-6.0024 57.1876,-6.0469 57.1668,-6.0974 57.159,-6.2111 57.1755,-6.3808 57.2115,-6.4538 57.3112,-6.4972 57.3788,-6.5521 57.367,-6.646 57.3563,-6.7372 57.4384,-6.7325 57.5071,-6.6689 57.4741,-6.6278 57.5215,-6.5376 57.5451,-6.4131 57.5017,-6.4067 57.5821,-6.3902 57.6754,-6.3528 57.7083,-6.2239 57.6471,-6.1539 57.4966,-6.1337 57.3637,-5.9907 57.2836,-5.8069 57.2607,-5.7029 57.2698,-5.6693 57.2398,-5.6591 57.2947,-5.7348 57.3428,-5.8032 57.395,-5.8453 57.4596,-5.8459 57.5572,-5.7904 57.6854,-5.7877 57.742,-5.8143 57.8033,-5.7577 57.8625,-5.6598 57.8184,-5.6005 57.8012,-5.6191 57.8574,-5.6382 57.9012,-5.5376 57.8874,-5.4397 57.8793,-5.3091 57.9093,-5.1929 57.9342,-5.2515 57.9685,-5.3646 58.0069,-5.4201 58.0698,-5.3612 58.085,-5.3054 58.1442,-5.264 58.2402,-5.1751 58.3341,-5.127 58.4488,-5.0607 58.5562,-4.9361 58.6185,-4.7665 58.5811,-4.5874 58.5653,-4.4359 58.5576,-4.2835 58.535,-4.1269 58.5616,-4.0246 58.5771,-3.8967 58.5636,-3.7446 58.5835,-3.647 58.6059,-3.4423 58.6313,-3.3246 58.6427,-3.2298 58.65,-3.1087 58.6525,-3.0832 58.5744,-3.0909 58.4899,-3.0784 58.4249,-3.1589 58.3411,-3.2881 58.293,-3.442 58.2216,-3.5344 58.1672,-3.6608 58.1123,-3.826 58.0318,-3.9156 57.988,-4.0101 57.9187,-3.9731 57.8453,-3.9129 57.7878,-3.9772 57.7181,-4.0731 57.6306,-4.1714 57.5394,-4.2989 57.5067,-4.371 57.4959,-4.2818 57.4818,-4.1185 57.5185,-4.032 57.5771,-3.9223 57.5993,-3.7658 57.6279,-3.614 57.6616,-3.5093 57.6821,-3.4157 57.7124,-3.3198 57.7143,-3.1801 57.6945,-3.0391 57.6769,-2.9391 57.6851,-2.8342 57.6969,-2.6786 57.6898,-2.5243 57.677,-2.4238 57.6716,-2.3228 57.6828,-2.2353 57.6848,-2.1464 57.6875,-2.0178 57.6868,-1.8724 57.6437,-1.8024 57.5444,-1.8186 57.4327,-1.9135 57.3596,-2.0114 57.2762,-2.0525 57.1765,-2.1282 57.0479,-2.2016 56.9385,-2.2612 56.8531,-2.3635 56.7851,-2.4278 56.7386,-2.485 56.7134,-2.5083 56.6767,-2.52 56.5979,-2.6234 56.5326,-2.7388 56.4991,-2.9169 56.4653,-3.0726 56.4348,-3.1212 56.4114,-3.0189 56.4215,-2.8624 56.4461,-2.8119 56.404,-2.7042 56.3219,-2.6998 56.2317,-2.8876 56.1977,-3.0583 56.161,-3.1639 56.088,-3.2296 56.0594,-3.3009 56.0196,-3.2484 55.9863,-3.1225 55.9675,-2.9906 55.9604,-2.8644 56.0193,-2.7169 56.0557,-2.5823 56.0237,-2.4945 55.9934,-2.3878 55.9591,-2.2336 55.9234,-2.0855 55.8638,-2.0855 55.776,-2.1367 55.7406,-2.162 55.7104,-2.0751 55.7561,-1.9354 55.7137,-1.8503 55.6611,-1.7513 55.6191,-1.6183 55.5373,-1.5998 55.438,-1.5789 55.3529,-1.5372 55.2421,-1.4641 55.0779,-1.3783 54.9755,-1.3494 54.9062,-1.3164 54.8056,-1.2191 54.6928,-1.121 54.6361,-0.9626 54.5932,-0.7982 54.5576,-0.6819 54.5228,-0.5308 54.4427,-0.4204 54.3229,-0.3221 54.2337,-0.2204 54.159,-0.1895 54.0762,-0.1807 53.9735,-0.1221 53.8838,-0.0114 53.7736,0.0115 53.644,-0.0316 53.574,0.0936 53.5002,0.1882 53.4467,0.2828 53.3232,0.3383 53.1687,0.2478 53.0549,0.0997 52.957,0.1067 52.8883,0.1959 52.8469,0.2939 52.8048,0.4056 52.8173,0.4672 52.895,0.5157 52.9614,0.6577 52.9772,0.7805 52.9763,0.9173 52.9711,1.0603 52.9601,1.202 52.9418,1.3395 52.9099,1.4699 52.8577,1.5779 52.8015,1.648 52.7574,1.7217 52.6722,1.6615 52.5904,1.6571 52.5026,1.7301 52.4215,1.6776 52.3302,1.6049 52.1764,1.5521 52.0839,1.4941 52.0572,1.3747 51.9812,1.2306 51.8499,1.1401 51.7944,1.0088 51.8004,0.9523 51.7893,0.9253 51.687,0.8701 51.613,0.8038 51.5605,0.6658 51.5342,0.545 51.517,0.6062 51.4332,0.7816 51.3602,0.961 51.3528,1.0541 51.3649,1.2047 51.3784,1.3465 51.3835,1.4131 51.3706,1.3851 51.3174,1.3666 51.2572,1.3922 51.1851,1.3348 51.1382,1.1882 51.0835,1.0429 51.0261,0.9893 50.9711,0.8849 50.9253,0.7291 50.9034,0.5416 50.8519,0.426 50.8242,0.3356 50.7839,0.2326 50.7382,0.1708 50.7487,0.0357 50.7789,-0.1075 50.8104,-0.1938 50.8247,-0.2925 50.8226,-0.4729 50.8048,-0.6512 50.7786,-0.7438 50.7513,-0.8478 50.7479,-0.898 50.8055,-1.0232 50.8341,-1.1471 50.8014,-1.2268 50.7927,-1.3272 50.7991,-1.4349 50.7695,-1.552 50.7348,-1.6338 50.727,-1.8115 50.7159,-1.9428 50.6442,-2.0098 50.5938,-2.0964 50.5988,-2.244 50.6146,-2.3836 50.624,-2.4463 50.6096,-2.5742 50.6318,-2.6812 50.6748,-2.7947 50.7068,-2.9054 50.7207,-3.0037 50.7092,-3.1814 50.6772,-3.3373 50.6402,-3.4521 50.5763,-3.5312 50.4419,-3.6062 50.3124,-3.648 50.2535,-3.6853 50.2131,-3.7907 50.2181,-3.8698 50.2595,-3.9957 50.3002,-4.1219 50.3413,-4.1714 50.3423,-4.2596 50.3396,-4.3727 50.3612,-4.4881 50.3423,-4.6396 50.3295,-4.7722 50.277,-4.8802 50.2107,-4.9829 50.171,-5.0273 50.1572,-5.0748 50.135,-5.0819 50.0727,-5.1374 50.0054,-5.2626 50.0192,-5.4168 50.1023,-5.5332 50.0983,-5.6106 50.0525,-5.6968 50.0488,-5.6938 50.1144,-5.5857 50.1929,-5.4666 50.206,-5.2953 50.27,-5.1495 50.3716,-5.0936 50.4184,-5.0297 50.4928,-4.9681 50.5678,-4.8584 50.5948,-4.7769 50.6348,-4.7069 50.6934,-4.6062 50.756,-4.5611 50.8479,-4.5447 50.9606,-4.4161 51.0088,-4.2626 51.0357,-4.2299 51.0993,-4.2222 51.1616,-4.1526 51.1955,-3.9856 51.2191,-3.8052 51.2304,-3.6958 51.2272,-3.582 51.2245,-3.475 51.2077,-3.3423 51.1814,-3.259 51.1856,-3.1397 51.2013,-3.0121 51.2444,-2.9936 51.3292,-2.9391 51.3942,-2.8566 51.4403,-2.7671 51.4894,-2.6988 51.5335,-2.6817 51.5998)),((-7.2313 54.2009,-7.2687 54.1596,-7.3037 54.1202,-7.3428 54.1337,-7.4865 54.1351,-7.6342 54.1664,-7.7827 54.2115,-7.8722 54.2535,-7.935 54.3036,-7.9496 54.305,-8.0711 54.3878,-8.1819 54.4662,-8.1178 54.4766,-8.0368 54.5134,-7.9389 54.5356,-7.7854 54.581,-7.7837 54.6319,-7.8816 54.6615,-7.8741 54.7136,-7.7932 54.7209,-7.6945 54.7271,-7.5985 54.7458,-7.5474 54.7711,-7.5054 54.8179,-7.4616 54.887,-7.4222 54.9806,-7.3303 55.0449,-7.1573 55.0593,-6.9984 55.1216,-6.85 55.1761,-6.7359 55.1751,-6.5959 55.2209,-6.47 55.2519,-6.2993 55.2256,-6.1933 55.2162,-6.0896 55.194,-6.0385 55.1092,-6.0065 55.0536,-5.9748 55.019,-5.9631 54.9796,-5.8665 54.9096,-5.7594 54.847,-5.7052 54.8052,-5.7564 54.7366,-5.8126 54.6837,-5.6908 54.6679,-5.5551 54.6591,-5.4797 54.5632,-5.4632 54.408,-5.5376 54.3707,-5.5551 54.4387,-5.5467 54.4996,-5.6221 54.5565,-5.6881 54.5632,-5.6601 54.4982,-5.6369 54.408,-5.6093 54.3727,-5.5544 54.3458,-5.5985 54.2667,-5.6736 54.2354,-5.7837 54.2313,-5.8873 54.1586,-5.9796 54.0624,-6.0802 54.0425,-6.1899 54.0866,-6.3243 54.0972,-6.4065 54.0716,-6.543 54.0536,-6.6046 54.0494,-6.6218 54.0487,-6.6535 54.0696,-6.642 54.1081,-6.7335 54.195,-6.8476 54.2556,-6.8577 54.3118,-6.9129 54.3734,-7.019 54.4185,-7.0836 54.3885,-7.1489 54.3434,-7.1674 54.2801,-7.1788 54.217,-7.2313 54.2009,-7.2313 54.2009)),((-5.267 55.7211,-5.178 55.6613,-5.1226 55.5666,-5.1317 55.4444,-5.2448 55.4488,-5.3532 55.538,-5.3804 55.6457,-5.3158 55.6999,-5.267 55.7211)))");
    }//GEN-LAST:event_jMenuItem3ActionPerformed

    void readPolygonDataFileIfExists() {
        File f = new File("polygon.data");
        if (!f.exists()) {
            return;
        }
        System.out.println("Reading polygon data from file.");
        try {
            String polygonData = FileUtils.readFileToString(f);
            System.out.println(polygonData);
            drawingPanel.setPolygonData(polygonData);
        } catch (IOException ex) {
            ex.printStackTrace();
        }
    }

    String readPolygonFromUser() {
        JTextField textArea = new JTextField();
        textArea.setColumns(30);
        textArea.setSize(textArea.getPreferredSize().width, 1);
        JOptionPane.showMessageDialog(
                null, textArea, "Insert Polygon Data", JOptionPane.PLAIN_MESSAGE);
        return textArea.getText();
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(DrawPolygonFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(DrawPolygonFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(DrawPolygonFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(DrawPolygonFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                DrawPolygonFrame f = new DrawPolygonFrame();
                f.setSize(1000, 800);
                f.setVisible(true);
                f.readPolygonDataFileIfExists();
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenuItem autoScaleMI;
    private javax.swing.JMenuItem clearMI;
    private javax.swing.JMenu configMenu;
    private javax.swing.JPanel drawingJP;
    private javax.swing.JMenu insertMenu;
    private javax.swing.JMenuItem insertPointMI;
    private javax.swing.JMenuItem insertPolygonMI;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JToolBar jToolBar1;
    private javax.swing.JMenuItem settingsWindowMI;
    private javax.swing.JCheckBoxMenuItem showCoordinatesCBMI;
    private javax.swing.JMenu transformJM;
    private javax.swing.JMenu viewJM;
    // End of variables declaration//GEN-END:variables
}
